/**
 * @author hhlxy
 * @version 1.0
 * @since 2025/8/13
 */
package cn.yilongquan.service;

import cn.yilongquan.system.domain.Permission;
import cn.yilongquan.system.query.PermissionQuery;
import cn.yilongquan.util.R;

import java.util.List;

public interface IPermissionService {
    Permission findById(Long id);

    List<Permission> findAll();

    void add(Permission permission);

    void update(Permission permission);

    void deleteById(Long id);

    void batchDelete(List<Long> ids);

    R pageList(PermissionQuery permissionQuery);

}
